/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.qdu.service.impl;

import com.qdu.dao.CommentDao;
import com.qdu.dao.impl.CommentDaoImpl;
import com.qdu.entity.Comment;
import com.qdu.service.CommentService;

/**
 *
 * @author 12068
 */
public class CommentServiceImpl implements CommentService{
    
CommentDao sd = new CommentDaoImpl();
    
    @Override
    public int addComment(Comment c) {
        return sd.insert(c);
    }
    
}
